package cn.aj.block;

import cn.aj.domain.User;
import com.alibaba.csp.sentinel.slots.block.BlockException;
import org.springframework.web.bind.annotation.PathVariable;

public class UserBlock {
    public static User loadUserBlockHandler(@PathVariable Long id, BlockException blockException) {
        return new User(-1L, "方法限流", "方法限流");
    }
}
